<!-- <div id="storeft">
    <div class="storelayer cmicons cl cart-open">
        <div class="z commodity">已添加<b class="cart-amound">0</b>商品</div><div class="z price">￥<b class="cart-prices">0.00</b></div><a href="<?php if (Yii::app()->user->isGuest): echo $this->createUrl('site/login'); else: echo $this->createUrl('order/confirmation'); endif;?>" class="tobuybtn y c_black">下单</a>
    </div>
    <div class="storelist store-list-out" style="display: none;">
        <ul class="store-list-box"><?php if (Yii::app()->user->isGuest): ?><li class="cl" style="text-align:center;"><a href="<?php echo $this->createUrl('site/login'); ?>">请登录</a></li><?php endif; ?></ul>
    </div>
</div> -->
<?php if (Yii::app()->user->isGuest): ?>
         <?php else: ?>
            <div class="n_buys">
                <div class="n_buys_box">
                    <img id="homemainId" src="<?php echo Yii::app()->request->baseUrl; ?>/images/v3/29.png" alt="" class="n_b_img_pe" />
                    <div class="n_b_perinfo">
                        <p class="n_b_p_name"><?php echo Yii::app()->user->name; ?></p>
                        <p class="n_b_p_out" onclick='window.location.href="<?php echo $this->createUrl("site/logout") ?>"'>退出登录</p>
                    </div>
                    <div class="n_b_message">
                        <p class="n_b_m_left"></p>
                        <span onclick="liulan('红烧茄子5',5)">3个未读通知</span>
                        <p class="n_b_m_right"></p>
                    </div>
                    <div class="n_b_message n_b_liulan">
                        
                        <div id="liulan">
                            <span class='liulan_layer'>
                                <p class="n_b_m_left"></p>
                                <span>浏览记录</span>
                                <p class="n_b_m_right"></p>
                            </span>
                            <div class="liulanlist" style="display: none;">
                                <ul class="liulan-list-box">
                                <li class="cl">没有记录</li>
                                </ul>
                            </div>
                        </div>
						
                    </div>

                    <div class="n_b_heji">
                    	<p class="n_b_h_left"></p>
                    	<div id="storeft">
						    <div class="storelayer cl cart-open">
						    	<span class="commodity n_b_hj_show">购物车已有<span class="cart-amound">0</span>餐品，合计价格¥<span class="cart-prices">00.00</span></span>
						        <!--div class="z commodity">已添加<b class="cart-amound">0</b>商品</div><div class="z price">￥<b class="cart-prices">0.00</b></div-->
						    </div>
						    <div class="storelist store-list-out" style="display: none;">
						        <ul class="store-list-box"><?php if (Yii::app()->user->isGuest): ?><li class="cl" style="text-align:center;"><a href="<?php echo $this->createUrl('site/login'); ?>">请登录</a></li><?php endif; ?></ul>
						    </div>
						    <a href="<?php if (Yii::app()->user->isGuest): echo $this->createUrl('site/login'); else: echo $this->createUrl('order/confirmation'); endif;?>"  class="n_b_b_buy">去买单</a> 
                
						</div>
                        <!-- <p class="n_b_h_left"></p>
                        <span class="n_b_hj_show">购物车已有<span class="cart-amound">0</span>餐品，合计价格¥<span class="cart-prices">00.00</span></span>
                        <div id="storeft" class="storeft dn">
                            <div class="storelist store-list-out n_storelist">
                                <ul class="store-list-box"><li class="cl"><div class="z name"><a href="/product/453">鱼香茄子盖浇饭</a></div><div class="z count">￥8 × 4</div><div class="z price">￥32.00</div><div class="z btn"><a href="javascript:void(0);" class="cmicons" cart-id="1340"></a></div></li><li class="cl"><div class="z name"><a href="/product/452">番茄鸡蛋盖浇饭</a></div><div class="z count">￥8 × 3</div><div class="z price">￥24.00</div><div class="z btn"><a href="javascript:void(0);" class="cmicons" cart-id="1337"></a></div></li><input type="hidden" name="sellerIds[]" value="32,32"><input type="hidden" name="productSkuIds[]" value="453,452"><input type="hidden" name="amounts[]" value="4,3"></ul>
                            </div>
                        </div> -->
                    </div>
                </div>
            </div>
            <script type="text/javascript">
            //$(".cart-amound").html('1');$(".cart-prices").html('128.00');delCart();
                $(function() {
                    ajaxGet('.n_b_img_pe', 'getHeadImgByType', 'account', 'html');

                    $(document).ready(function() {
                        var aptype = 'append';
                        $.ajax({
                            url: baseurl + '/ajax/ajax?mod=getLiulan',
                            cache: false,
                            type: 'get',
                            async: false,
                            dataType: 'json',
                            success: function(json) {
                                if (json.content) {
                                    $('.liulan-list-box').html(json.content);
                                }
                            }
                        });
                    });
                });
            </script>
         <?php endif; ?>